package com.ytjj.common.enums;

import lombok.Getter;

import java.math.BigDecimal;

/**
 * 
 *  *
 **/
@Getter
public enum CounponMoneyEnum {

    BUY(1,"购物返现",BigDecimal.valueOf(0.4)),
    SINGIN(1,"每日签到",BigDecimal.ZERO),
    PLAY_VIDEO(5,"浏览视频",BigDecimal.valueOf(0.8)),
    RELEASE_EVALUATION(0,"发布测评",BigDecimal.valueOf(1.88)),
    COMMENT_EVALUATION(5,"评论测评",BigDecimal.valueOf(0.4)),
    ;

    /**
     * 限制次数 0 为无限次数
     */
    private int num;

    private String msg;

    /**
     * 0 为随机
     */
    private BigDecimal money;

    CounponMoneyEnum(int num, String msg, BigDecimal money) {
        this.num = num;
        this.msg = msg;
        this.money = money;
    }
}
